package com.hrms.hrms_employee.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hrms.common.vo.ResultMessage;
import com.hrms.hrms_employee.entity.Department;

import java.time.YearMonth;
import java.util.List;

/**
 * 部门表(Department)表服务接口
 *
 * @author makejava
 * @since 2025-01-14 16:22:16
 */
public interface DepartmentService extends IService<Department> {

    List<Department> selectDepartmentTree();

    void saveInfo(Department department);

    void removeByInfo(Long id);

    List<Department> selectByDepartmentId(Long departmentId);

    ResultMessage getDepartmentEmployee();

    ResultMessage getEmployeeChange(String yearMonth);

    ResultMessage getEmployeeAge();

    ResultMessage getEmployeeEducation();

    ResultMessage getEmployeeWorkDate();

    ResultMessage getEmployeeContractType();

    ResultMessage getStationEmployee();
}

